<?php
/**
 * User: 269995848@qq.com
 * Date: 2019/3/3 18:47
 */

namespace app\qqbot\service\behavior\achieve;


use app\qqbot\service\command\Help;

class Request{

    public function route(array $event):?Help{

        switch($event['request_type']){
            case 'group':
                switch($event['sub_type']){
                    case 'add':
                        //TODO 自行编写你的处理加群申请业务
                    break;
                }
        }

        die();
    }

    private function request(array $event){

    }
}